<%@page contentType="text/html; charset=UTF-8" %>
<!DOCTYPE html>

<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<html lang="en">

<body>
	<table>
		<tr>
			<td>姓名</td>
			<td><input type="text" name="username" ></td>
		</tr>
	</table>
	<br>
	<table>
		<thead>
			<tr>
				<td>姓名</td>
				<td>年龄</td>
				<td>住址</td>
				<td>国家</td>
			</tr>
		</thead>
	<c:forEach items="${searchResults }" var="user">
		<tr>
			<td>${user.name }</td>
			<td>${user.age }</td>
			<td>${user.addr }</td>
			<td>${user.country }</td>
		</tr>
	</c:forEach>
	</table>
</body>

</html>
